<?php
// +-------------------------------------------------------------------
// |
// +-------------------------------------------------------------------
// | Copyright (c) 2009-2016 All rights reserved.
// +-------------------------------------------------------------------
namespace Service\Api\V1;

class IndexDoc
{
    public $login = false; //是否需要登录才能访问该接口
    public $title = "首页文档";
    public $group = '网站';
    public $desc = "";

    public $input = [

    ];

    public $output = [
		'index_name' => 'label=banner跳转地址',
		'index_doc'=>'label=图片url',
    ];

    public function run($param, $uid)
    {
       $indexcompany = C('WEB_SITE_NAME');
       $indexdoc = C('INDEXDOC');
        return [
            'index_name' => $indexcompany,
            'index_doc' => $indexdoc
        ];
    }
}
